Cost Optimal Domestic Electrification CODE
Cost-Optimal Domestic Electrification (CODE) was a research and modelling project with the final report written Jason Palmer and Nicola Terry and published by BEIS with oversight from Oliver Sutton, George Bennett and Anna Stephenson. Acknowledgements for the work are also given to Cambridge Architectural Research (CAR) and Cambridge Energy (CE) teams; Ian Cooper, Anthony Guillem, Fionna Catlin, Janet Owers, Suzie Webb, and Yi Zhang.
The objective of the study was to assess costs of retrofits based on the perspective of the consumer. It therefore only considers costs that directly impact the consumer: the upfront cost of equipment, energy costs and maintenance costs. The Final Report BEIS Research Paper 2021/051 can be accessed via the government link here. The report takes the view that the decarbonisation of electricity creates a major opportunity to reduce greenhouse gas emissions from home heating in Great Britain without requiring extensive and costly deep retrofits. The study tries to demonstrate that home conversions from gas or oil heating to electric heating can be achieved at significantly lower costs than commonly assumed, while maintaining thermal comfort and delivering substantial emissions reductions.
The research was commissioned to identify cost-optimal pathways for installing electric heating and complementary energy-efficiency measures from the consumer’s perspective. Whereby the costs considered included upfront capital expenditure, energy costs, and maintenance over a 15-year period, discounted at 3.5% to 2020 prices. Wider electricity system costs, such as network reinforcement or generation capacity, were excluded. As a result, “cost-optimal” in the study refers strictly to what minimises total cost of ownership for households under present-day conditions.
Detailed modelling was undertaken across 12 representative house types, or typologies covering around 90% of Britain’s 28 million dwellings. The typologies reflected common combinations of dwelling form, construction type, and existing heating systems.
Firstly a form factor-based approach was looked at, comparing the all important heat loss parameters for detached dwellings with and without extensions and semi-detatched and end of terrace with and without an extensions. This led to an approach that divided the 'semi-D's, end-of-terrace, and detached’ cases into three groups of compact, medium and sprawling.
Secondly, a construction-based approach, looked at the roof, floor, windows and walls. Roofs tended to be pitched and it was assumed insulation levels were similar at around 100mm. Floor type related to wall type, but with suspended timber floors as a minority for all types except the 28% of dwellings with solid walls. So all solid-wall properties were modelled with suspended timber floors and as many were built with no insulation up to at least the 1990s, all cases floors were modelled with no insulation in the base case. Wall typologies were referred to as bungalow, flat-small, flat-ground, flat-mid, flat-top, mid-terrace, compact house, medium house and sprawling house, with differentiation between Cavity High U, Cavity low U, Solid high U and system high U. the final analysis included nine cases with Cavity walls and low U-values, plus three solid walls with high U-values.
Dynamic thermal models with hourly resolution were used to simulate tens of thousands of combinations of heating technologies and fabric upgrades, ensuring that all selected options met defined comfort standards. The modelling included a range of electric heating technologies currently available in the UK, including high- and low-temperature air- and ground-source heat pumps, air-to-air heat pumps, infrared panels, and electric storage heaters. These were assessed in combination with insulation measures, solar PV, batteries, and thermal storage where appropriate.
Results showed that, over 15 years, cost differences between most electric heating options are relatively small, typically within 10%. Low-temperature air-source heat pumps and air-to-air heat pumps are cost-optimal for most house types when time-of-use electricity tariffs are applied. Under flat-rate or Economy-7 tariffs, electric storage heaters become cost-optimal for some homes, particularly small flats.
The analysis found that extensive fabric upgrades are rarely cost-optimal over a 15-year horizon. In most cases, minimal measures such as draught-proofing and top-up loft insulation provide the best value, while high-cost interventions like internal or external wall insulation do not repay their capital costs within the modelling period.
Sensitivity testing highlights that assumptions about time horizon, electricity prices, and disruption strongly influence outcomes. Longer horizons reduce the attractiveness of heat pumps due to replacement costs, while lower electricity prices shift cost-optimal solutions toward storage heating. Finally, while batteries and thermal stores can provide demand flexibility, neither is currently cost-optimal at prevailing energy and capital costs, though thermal stores offer better value than batteries for load shifting.
The outputs of this work have fed into various aspects of policy moving forward including the Boiler Upgrade Scheme (BUS) and the Warm Homes Plan.
[edit] Related Articles on Designing Buildings
- Beyond the Warm Homes Plan: A National Retrofit Programme for people and planet
- Boiler.
- Boiler markets and the green recovery.
- Building heating systems.
- Boiler Upgrade Scheme updates.
- Cambridge Housing Model.
- CIOB holds net zero event with industry experts and UK Government.
- Domestic heat pumps and the electricity supply system.
- ECA urges Government to uphold 13.2 billion Warm Homes manifesto commitment
- Fabric first will safeguard heat decarbonisation.
- Government urged to uphold Warm Homes manifesto commitment
- Heat pump.
- Hydronic heat pump.
- Low carbon in the construction industry.
- Net zero strategy: build back greener.
- Performance gap in low energy housing.
- Renewable heat incentive RHI.
- The Warm Homes Plan and existing policies to help with energy bills
- The Warm Homes Plan details released.
- Thermal comfort in buildings.
- Treasury responds to sector submission on Labour Warm Homes manifesto pledge
- Types of heat pump.
- Up to 300,000 homes to benefit from upgrades with the rollout of the Warm Homes Plan in 2025
- Warm Homes Plan Workforce Taskforce.
- The Warm Homes Plan details released.
- Warm homes programme, Wales
- Warm Homes Skills Programme
- Waste heat from the Underground to warm offices and homes
Featured articles and news
Do you take the lead in a circular construction economy?
Help us develop and expand this wiki as a resource for academia and industry alike.
Warm Homes Plan Workforce Taskforce
Risks of undermining UK’s energy transition due to lack of electrotechnical industry representation, says ECA.
Cost Optimal Domestic Electrification CODE
Modelling retrofits only on costs that directly impact the consumer: upfront cost of equipment, energy costs and maintenance costs.
The Warm Homes Plan details released
What's new and what is not, with industry reactions.
Could AI and VR cause an increase the value of heritage?
The Orange book: 2026 Amendment 4 to BS 7671:2018
ECA welcomes IET and BSI content sign off.
How neural technologies could transform the design future
Enhancing legacy parametric engines, offering novel ways to explore solutions and generate geometry.
Key AI related terms to be aware of
With explanations from the UK government and other bodies.
From QS to further education teacher
Applying real world skills with the next generation.
A guide on how children can use LEGO to mirror real engineering processes.
Data infrastructure for next-generation materials science
Research Data Express to automate data processing and create AI-ready datasets for materials research.
Wired for the Future with ECA; powering skills and progress
ECA South Wales Business Day 2025, a day to remember.
AI for the conservation professional
A level of sophistication previously reserved for science fiction.
Biomass harvested in cycles of less than ten years.
An interview with the new CIAT President
Usman Yaqub BSc (Hons) PCIAT MFPWS.
Cost benefit model report of building safety regime in Wales
Proposed policy option costs for design and construction stage of the new building safety regime in Wales.
Do you receive our free biweekly newsletter?
If not you can sign up to receive it in your mailbox here.
























